/**
 * 数据字典
 */

// 楼栋
export const build = ['1栋','2栋','3栋','4栋','5栋','6栋','8栋','9栋','10栋']
// 楼层
export const floor = getFloor(33)
/**
 * 返回楼层
 * @param {楼层} floor 
 */
function getFloor(floor) {
  let arr = []
  for(let i = 1; i < floor; i++) {
    arr.push(i)
  }
  return arr.map(m => m+'层')
}
// 房屋状态
export const houseStatus = [
  {
    key: '1',
    label: '闲置'
  },
  {
    key: '2',
    label: '已售'
  },
]
// 车位类型
export const carType = [
  {
    key: '1',
    label: '子母车位'
  },
  {
    key: '2',
    label: '普通车位'
  },
]
// 是否 通用
export const yesOrNot = [
  {
    key: '0',
    label: '否'
  },
  {
    key: '1', 
    label: '是'
  },
]
